
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class humanHuman extends JLabel implements MouseListener
{
	static ImageIcon humanHumanImage = new ImageIcon("images/humanHuman.png");
	
	public humanHuman()
	{
		super(humanHumanImage);
		setBounds(10, 100, 300, 300);
		setCursor(new Cursor(12));
		addMouseListener(this);
	}

	public void mouseClicked(MouseEvent e)
	{
	}

	public void mouseEntered(MouseEvent e)
	{
		if(isEnabled() == true)
		{
			ImageIcon humanHumanFilledImage = new ImageIcon("images/humanHumanFilled.png");
			setIcon(humanHumanFilledImage);
		}
	}

	public void mouseExited(MouseEvent e)
	{
		setIcon(humanHumanImage);
	}

	public void mousePressed(MouseEvent e)
	{
	}

	public void mouseReleased(MouseEvent e)
	{
		if(isEnabled() == true)
		{
			setVisible(false);
		}
	}

}
